package com.bzchao.wechat.wxopen.msg;

import lombok.Data;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 被动收到的微信消息内容（xml格式）
 */
@Data
@XmlRootElement(name = "xml")
public class BaseMessage {
    @XmlElement
    private String ToUserName;
    @XmlElement
    private String FromUserName;
    @XmlElement
    private long CreateTime;
    @XmlElement
    private String MsgType;
}
